package com.zhanghe.wzq.command.response;

import com.zhanghe.protocol.v1.Packet;
import com.zhanghe.wzq.command.CommandType;
import lombok.Data;

/**
 * StartGameResponse
 *
 * @author Clevo
 * @date 2018/12/30
 */
@Data
public class StartGameResponse extends Packet {

    /**
     * 开始游戏请求是否成功
     */
    public boolean success;

    public String msg;
    /**
     * 接收消息的人是黑方还是白方
     */
    public Integer color;

    @Override
    public Byte getCommand() {
        return CommandType.START_GAME_RESPONSE;
    }
    @Override
    public boolean needSerilize() {
        return false;
    }
}
